package consys.social.core.bo;

import java.util.List;
import java.io.Serializable;
import java.util.ArrayList;

/**
 * contains list of WallPosts
 *
 * @author Petr Kunc
 */
public class Wall implements Serializable {
    private static final long serialVersionUID = -262081055704368602L;
    private List<WallPost> wallPosts = new ArrayList<WallPost>();

    public List<WallPost> getWallPosts() {
        return wallPosts;
    }

    public void setWallPosts(List<WallPost> wallPosts) {
        this.wallPosts = wallPosts;
    }

    public void addWallPost(WallPost wallPost) {
        this.wallPosts.add(wallPost);
    }
}
